const C = require('memory-cache')

const me = {
  all: () => C.get('shops'),
  get_by_shop: shop => me.all().find(it => it.shop == shop)
}

module.exports = me